-- GENERATED SPELL FOR [Female Kaliri Hatchling] --


function spell0_17034(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17034', 2315, 1)
end

function Sorts_17034(pUnit, Event)
local choix_sorts_17034 = math.random(0, 0)
if choix_sorts_17034 == 0 then
pUnit:RegisterEvent('spell0_17034', 1, 1)
end
end

function mob17034_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17034', math.random(1500, 3000), 1)
end

function mob17034_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17034_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17034_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17034, 1, 'mob17034_Action')
RegisterUnitEvent(17034, 2, 'mob17034_Leave')
RegisterUnitEvent(17034, 3, 'mob17034_Kill')
RegisterUnitEvent(17034, 4, 'mob17034_Die')
